﻿using System;
using System.Collections.Generic;

using LeanEngine.Entity;

namespace LeanEngine.Data
{
    public interface ISqlTextBuilder
    {
        string BuildInsertCommand(string tableName, IEnumerable<MetaColumn> columnsList);
        string BuildDeleteCommand(string tableName, IEnumerable<MetaColumn> pimaryKeyColumnsList);
        string BuildReadCommand(string tableName, IEnumerable<MetaColumn> pimaryKeyColumnsList);
        string BuildListCommand(string tableName);
        string BuildPagedListCommand(string tableName, IEnumerable<MetaColumn> pimaryKeyColumnsList);
        string BuildCountCommand(string tableName);
    }
}
